@charset "UTF-8";
$color-primary: #12b51a;
$color-green: #1acd4a;

$color-blue: #177BF4;
$color-red: #FF6A6A;
$color-pink: #ff89a5;
$color-yellow: #F7A41E;
$color-subPurple: #9388ff;
$color-f: #fff;
$color-f5: #F5F5F5;
$color-f7: #f7f7f7;
$color-3d: #3d3d3d;
$color-1e: #1e1e1e;

$color-mainText: #3e3e3e;
$color-subText: #6e6e6e;
$color-greenText: #34d03c;
$color-success: #00a708;
$color-bg-suc: #EAFAEA;
$color-bg-info: #EBF2FC;
$color-bg-warn: #FCF6EB;

//单行文本溢出显示省略号,参数：宽度、框类型
@mixin ellipse($width: 100%, $display: block) {
  width: $width;
  display: $display;
  white-space: nowrap;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
}

//多行文本溢出显示省略号，参数：行数
@mixin showLine($rows: 2) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $rows;
}

//弹性盒子垂直居中两端对齐
@mixin flex-center-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

//弹性盒子水平垂直居中
@mixin flex-center-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

//弹性盒子水平居中
@mixin flex-row-center {
  display: flex;
  justify-content: center;
}

//弹性盒子水平两端对齐
@mixin flex-row-between {
  display: flex;
  justify-content: space-between;
}

// 弹性盒子垂直居中
@mixin flex-column-center {
  display: flex;
  align-items: center;
}

// 按钮样式
@mixin main-btn {
  border-radius: 49rpx;
  background: $color-primary;
  // background:linear-gradient(180deg,$color-lightPurple 0%,$color-primary 100%);
  // box-shadow:0 20rpx 20rpx 0 rgba(207,248,253,0.6);
  color: $color-f;
  font-weight: normal;
}

@mixin dialog-show {
  animation: scaleInUp 0.35s ease-in both;
}